using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;

public class RScrollBoxTestItem : RScrollBoxItem
{
    [SerializeField] private TextMeshProUGUI m_NameText;
    
    public override void OnRefresh(object itemData)
    {
        string name = itemData as string;
        m_NameText.text = name;

        gameObject.name = name;
        // print("refresh");
    }

    public override void OnHide()
    {
        
    }
}
